home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / MUSIUSIC / CDPLAY.LZH / CDP.DOC next >
Text File  |  1992-03-11  |  27KB  |  542 lines

  1.  
  2.  
  3.  
  4.                                      CDPlay
  5.         
  6.                                   Version 1.20S
  7.                                [Shareware Version]
  8.         
  9.                                  March 11, 1992
  10.         
  11.              This program is Copyright 1992 by Randy Rathbun.  Turbo  C++ 
  12.         is  Copyright 1987, 1990 Borland International,  Inc.   Microsoft 
  13.         CD-ROM extensions Copyright Microsoft, Inc.
  14.              This  program is Shareware.  You are granted a trial  period 
  15.         of  ten  (10)  days to try it out.  If, after  this  period,  you 
  16.         continue to use it, you must register it by sending $10US +  $3US 
  17.         for  Shipping and handling to Randy Rathbun.  See the Order  Form 
  18.         at the end of this document for more information.
  19.              For  the most up to date Shareware version of  CDPlay,  call 
  20.         The  Ham  Shack BBS at (816)796-6695.   24  Hours,  300/1200/2400 
  21.         Baud, no parity, 8 data bits, 1 stop bit.
  22.         
  23.                                    Disclaimer
  24.         
  25.              The author (Randy Rathbun) is not to be held liable for  any 
  26.         damages  caused by the use or misuse of this program.  This  pro-
  27.         gram  is provided 'AS-IS' with no warranty, either  expressed  or 
  28.         implied.  
  29.              Owners of the REGISTERED version of CDPlay are granted a one 
  30.         (1)  year warranty on the media in which CDPlay  is  distributed.  
  31.         Owners of the REGISTERED version must send their original  CDPlay 
  32.         disk  (+$3US  for postage and handling) to Randy  Rathbun,  18602 
  33.         Cheyenne Drive, Independence, MO  64056.  
  34.         
  35.                               Terms of Distribution
  36.         
  37.              Since  CDPlay is Shareware, you may not sell it.   Only  the 
  38.         author (Randy Rathbun) may sell the program as a REGISTERED COPY.  
  39.         You may not charge others for this (Shareware) program.  It  must 
  40.         be  given  away.   Users groups and  other  commercial  interests 
  41.         (Shareware distributors, for example) may charge a small fee  for 
  42.         the  media  on  which CDPlay is distributed.  This  fee  may  not 
  43.         exceed $5 for magnetic media, and $1000 for optical media.
  44.              Users  groups  and  commercial  interests  which  distribute 
  45.         CDPlay are encouraged to let me (Randy Rathbun) know that you are 
  46.         distributing CDPlay.  We want to know how it is getting around!  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.                                   Introduction
  54.         
  55.              CDPlay is a full featured program which will allow your  CD-
  56.         ROM player to play a CD Audio disc.  In order for CDPlay  (herein 
  57.         referred to as CDP) you need to have the following:
  58.         
  59.                        - A IBM Compatible computer
  60.                        - A CD-ROM drive capable of audio output
  61.                        - MSCDEX v2.1 or later
  62.         
  63.              If you have the items listed above, you are all set to start 
  64.         enjoying CDP!
  65.              Note:   Your CD-ROM device driver MUST support  Audio  Play-
  66.         back.   We have encountered a few users whose device  drivers  do 
  67.         not support audio.  If CDPlay does not run, check with the  drive 
  68.         manufacturer for an updated device driver.
  69.         
  70.         Optional equipment:
  71.                        - A Microsoft/Logitech compatible mouse
  72.                        - A Hard drive (although a floppy will work)
  73.         
  74.                               Version 1.20 Features
  75.         
  76.              This  version 1.20 of CDPlay corrects a MAJOR bug  that  was 
  77.         found... just before I sent out a shipment of registered versions 
  78.         (whew!)   The  problem is in the database.  If you  look  at  the 
  79.         database  with a binary file viewer, you will see some  duplicate 
  80.         records.  This has been corrected.
  81.              You will also see records suddenly get lost!  I have no idea 
  82.         how  I could have missed this!  Some machines will allow  you  to 
  83.         enter a few hundred records before it starts losing them,  others 
  84.         will  let you enter about 50.  I have no idea why, but  it  does.  
  85.         Again, this has been corrected.
  86.              I  have  also included a small utility  program,  CDPRPT.EXE 
  87.         which  will list the titles of your discs to a text  file,  DISC-
  88.         NAME.TXT.   This will help you see what CDs you have put in  your 
  89.         database.
  90.         
  91.                                  Getting Started
  92.         
  93.              In  order  for  CDP to start working, you need  to  run  the 
  94.         program CDPSETUP.  This program will write the following files to 
  95.         your system:
  96.                 CONFIG.CDP   (8 bytes)
  97.                 CDPDISC.DAT  (0 bytes) 
  98.                 CDPSONG.DAT  (0 bytes)
  99.         
  100.              CONFIG.CDP contains startup information for CDP to use.   It 
  101.         has a file length of 8 bytes. 
  102.              CDPDISC.DAT  and CDPSONG.DAT will both have file sizes of  0 
  103.         bytes, but don't worry!  They don't have any information in  them 
  104.         yet.
  105.              During  the  running of CDP, you will see  two  other  files 
  106.         appear on your system:  
  107.                 CDPDISC.BAK
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.                 CDPSONG.BAK
  115.              These are backup files of CDPDISC.DAT and CDPSONG.DAT.  They 
  116.         will be discussed a bit later.
  117.              Now, back to CDPSETUP.  You only need to answer one question 
  118.         to  get  the program up and running.  You will be  asked  is  the 
  119.         amount of time for the screen saver to become active.  The  value 
  120.         you  enter  is in minutes, from 1 to 30.  The screen  saver  will 
  121.         become  active after the number of minutes you specify  if  there 
  122.         has been no keyboard or mouse button activity.
  123.         
  124.         ****************************************************************
  125.         NOTE:   If you are upgrading from a previous version  of  CDPlay, 
  126.         you DO NOT need to run CDPSETUP.  
  127.         ****************************************************************
  128.         
  129.                                  Running CDPlay
  130.         
  131.         To run CDPlay, just type:
  132.                          CDP <Enter>
  133.         at  the DOS prompt.  CDP will load and you will soon  be  greeted 
  134.         with the main program screen.
  135.              When CDPlay is started, there is a three second delay.  Disc 
  136.         information  will be displayed on the screen, but it  may  appear 
  137.         that CDPlay is locked up.  It isn't!  This delay is neccessary so 
  138.         that  the program can see if there is a disc in the drive and  if 
  139.         there is, if it is playing.  
  140.         
  141.                                   The Database
  142.         
  143.              The  Database section of CDP is very simple.  It allows  you 
  144.         to  see  just what is on a disc, what disc is in the  drive,  the 
  145.         times of each track, and the disc artist.  It also allows you  to 
  146.         search your database to find a song.  
  147.              Suppose  that  you have every disc that the  Rolling  Stones 
  148.         currently have out, and you want to find out which discs  contain 
  149.         the  song "Jumpin' Jack Flash".  The Search portion of the  data-
  150.         base will tell you.  
  151.         
  152.                                How To Enter A Disc
  153.                                 Into The Database
  154.         
  155.              Entering a disc into the database couldn't be easier.   Just 
  156.         insert a disc into the CD-ROM drive.  CDP will check your current 
  157.         database entries for that disc.  If CDP cannot find the disc, you 
  158.         will be prompted to enter the disc information.  
  159.              To add the disc, just follow the prompts.  You will first be 
  160.         asked to enter the Title Of The Disc.  You have 80 characters for 
  161.         each  field.   As you type, your cursor will move  from  left  to 
  162.         right.  When you get to what appears to be the end of the  field, 
  163.         the text will start to scroll from right to left.  
  164.              Next,  you will be asked to enter the Disc Artist.  This  is 
  165.         usually a particular singer or group.  If the disc is one of  the 
  166.         'CD Samplers' with songs from many artists, it is suggested  that 
  167.         you type 'Various' in this field.
  168.              After  you  have entered the disc name and artist,  you  can 
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.         start  entering  the  title of each track.  Again,  you  have  80 
  176.         characters to describe each track.
  177.              If, for some reason, you do not feel like entering all  this 
  178.         information, but would like to enter it at a later time, you can.  
  179.         Just press ENTER for each field.  The information will be  stored 
  180.         in  the database this way, but can be changed.  See  the  section 
  181.         entitled 'Editing an Entry' below.
  182.         
  183.                                 Editing An Entry
  184.         
  185.              If you find you have made a mistake on an entry, or wish  to 
  186.         enter  some  information which you have previously  skipped,  you 
  187.         can.  
  188.              First,  insert  the disc whose database entry  you  wish  to 
  189.         change into the drive.  CDP will read the information out of  the 
  190.         database and will display it on the screen.
  191.              Next,  press  Alt-E or click the mouse on the  Edit  button.  
  192.         You  will be presented with the Entry/Edit screen.  You  can  use 
  193.         the  normal cursor control keys to scroll around the  fields  and 
  194.         change them.
  195.              If  you wish for a field to remain as it is, just hit  ENTER 
  196.         to go  on to the next field.
  197.         
  198.                              Searching The Database
  199.         
  200.              Searching  the database is as easy as  entering  information 
  201.         into it.  
  202.              Press  Alt-S or click the mouse on the Search  button.   You 
  203.         will  now see the Search Query screen.  You are asked to enter  a 
  204.         song title, or part of a song title.  Enter this and press ENTER.  
  205.         The disc title, artist, and song title will be displayed.   Press 
  206.         any key to continue searching. 
  207.              For  example,  say you want to find all  songs  titles  that 
  208.         contain  the  word 'love' in them.  Enter 'love'  in  the  search 
  209.         field.  The database will show you all the songs you have entered 
  210.         which have 'love' in the title. 
  211.              Note that the database will also show you songs titles which 
  212.         also have the word 'lovely', 'clove', 'glove', and 'loved'.  This 
  213.         is normal.
  214.              To  exit a search at any time, press the ESC key,  or  press 
  215.         any other key to continue the search.
  216.         
  217.                                The Player Section
  218.         
  219.              Now  for  the  good stuff, the actual disc  player!    I  am 
  220.         assuming  you  know how to use the mouse by now, so  I  will  not 
  221.         refer  to it any more in this document.  Just assume that when  I 
  222.         say something like "Press the P key" that you can also press  the 
  223.         Play/Pause button with the mouse.
  224.              So go ahead.  Press the P key!  This is the Play/Pause  key.  
  225.         It will start a stopped/paused disc and pause a playing disc.
  226.              The S key will stop a playing disc.  When you press Play, it 
  227.         will start over at the beginning of the disc.
  228.              The + and - keys will allow you to jump forward or  backward 
  229.         one track.  If you try to jump forward when listening to the last 
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.         track,  it  will be ignored.  If you try to jump  backward  while 
  237.         listening to the first track, it will start over at the beginning 
  238.         of the song.
  239.              By pressing the < and > keys, you will jump forward or  back 
  240.         10 seconds on the disc.  Please note that this is not 10  seconds 
  241.         forward relative to the song, but 10 seconds forward relative  to 
  242.         the disc.  
  243.              If you press E, you will eject the disc from the drive.  You 
  244.         can also eject the disc by hitting the EJECT button on the  front 
  245.         of your CD-ROM drive.
  246.         
  247.                                   The Music Bar
  248.         
  249.              In the middle of the screen you will see a line divided into 
  250.         ten sections with arrows on each end.  This is the Music Bar.  It 
  251.         allows  you  to jump to different songs on a disc  very  quickly.  
  252.         You can only use the Music Bar if you have a mouse connected.
  253.              The  Music  Bar can show ten track numbers at  a  time.   To 
  254.         select other track numbers, click on the arrows.  Clicking on the 
  255.         right  arrow will scroll the bar up, clicking on the  left  arrow 
  256.         will scroll the bar down.  
  257.              When you have a disc playing, just press the button with the 
  258.         mouse and the player will jump to the song you selected.  
  259.              The  current track that is playing will flash on  the  Music 
  260.         Bar, if the track number is displayed.
  261.          
  262.                             The Q-Channel Information
  263.         
  264.              The  CD Audio disc Q-Channel information is constantly  dis-
  265.         played  on  the  left side of the  Player  Interface.   Q-Channel 
  266.         information  is  the  time that is encoded on  the  disc  itself.  
  267.         Please note that the times that are displayed do not always  look 
  268.         correct, but they are.  
  269.              For example, you might notice that the Elapsed Track Time is 
  270.         somewhere  around two (2) seconds behind the Elapsed  Disc  Time.  
  271.         This is normal.  
  272.         
  273.              The Q-Channel information is displayed as:
  274.         
  275.                  Track :   (current track playing)
  276.              Elap. Time:   (elapsed Track Time)
  277.               Song Time:   (Time of TRack)
  278.              Elap. Disc:   (Elapsed Disc Time)
  279.              Total Disc:   (Total running time of disc)
  280.          
  281.                 Status :   CD Player status
  282.         
  283.              Track shows the current track number that is playing.  Elap. 
  284.         Time is the elapsed running time of the currently playing  track.  
  285.         Song Time is the total running time of the track.  Elap. Disc  is 
  286.         the elapsed running time of the currently play disc.  Total  Disc 
  287.         shows  the  total  running time of the disc.   Status  shows  the 
  288.         current  status of the CD player.  It will show Playing,  Paused, 
  289.         Stopped, or Door Open.
  290.         
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.                                Exiting the Program
  298.         
  299.              You  can  exit the program at any time by pressing  the  F10 
  300.         key.   When you do exit the program, any currently  playing  disc 
  301.         will  continue  to play, so that you can continue  to  listen  to 
  302.         music while you use your computer.
  303.              Note that there is no mouse button available for this.  This 
  304.         is intentional - it keeps you from accidentally hitting the mouse 
  305.         button and exiting the program.  It had originally been placed in 
  306.         the  program, but while programming we kept leaving  the  program 
  307.         accidentally!   Let  us  know if you would like for  this  to  be 
  308.         included from now on.
  309.         
  310.                                Regular Maintenance
  311.         
  312.              Like  all  things,  in order to keep  your  program  running 
  313.         smoothly, you should perform some regular maintenance on  CDPlay.  
  314.         This involves nothing more than backing up four files:  
  315.                      CDPDISC.DAT
  316.                      CDPSONG.DAT
  317.                      CDPDISC.BAK
  318.                      CDPSONG.BAK
  319.         
  320.              These files are your database.  If you loose them, you  have 
  321.         to  start entering the information all over.  Believe me, it  has 
  322.         happened to me many times.  
  323.              If, for some reason, your database becomes corrupted,  there 
  324.         is only one way to restore it.  Delete the files CDPDISC.DAT  and 
  325.         CDPSONG.DAT, then run CDPSETUP again.
  326.              Again,  make sure you make backups of the database every  so 
  327.         often.  If you do not, you will have to re-enter all that  infor-
  328.         mation!   Believe  me, it is no fun.  Copy the files  over  to  a 
  329.         floppy and put it in a safe place.  That way, if you accidentally 
  330.         destroy  the  database, or it becomes corrupted, you  can  easily 
  331.         restore it.
  332.              Remember, "The stingy man spends the most!"
  333.         
  334.                                 Closing Comments
  335.         
  336.              We hope you receive much enjoyment from using CDPlay.  A lot 
  337.         of  hard work and effort went into the creation of this  program.  
  338.         I  would  like  to thank Dave Perry, W4KGU,   and  Craig  Martin, 
  339.         WA0WPJ,  for their help and especially for allowing me to  bounce 
  340.         ideas off them.  Thanks also go to Frank Gunja, N0FMR, for  being 
  341.         a  very helpful Beta tester.  Fortunately I did not screw up  his 
  342.         system!   I  would  also like to thank all the  creators  of  the 
  343.         Commercial CD player programs.  If it wasn't for their  extremely 
  344.         high  priced  do nothing programs, I wouldn't have  written  this 
  345.         one!
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.                                   What's Next?
  353.         
  354.              Some  things  that  we are working on now  at  CDPlay  Tower 
  355.         (sorry Click and Clack!) are:
  356.         
  357.             - ARTS, the Audio Recording Tape System.  Will allow CDPlay
  358.               to  rearrange the sequence of songs so that they  fit  
  359.               perfectly on a cassette tape.
  360.             - CD+G Graphics.  Will allow users with a CD+G compatible
  361.               drive to view lyrics/pictures on CD+G Audio Discs.  Note
  362.               that all drives we have tested so far DO NOT support  CD+G.
  363.               Let's start a letter writing campaign to get them onto the
  364.               market!
  365.             - The CDPlay Report System.  Will allow you to sort, print,
  366.               edit, and update your CDPlay database.  Will also allow you
  367.               to import database information from other CDPlay users so
  368.               you can avoid typing.
  369.             - CDPlay itself!  We are continually working on making CDPlay
  370.               the best it can be, whether it's making the documentation
  371.               clearer, fixing bugs, or adding features.  We Love Coding!
  372.         
  373.              Note  that ALL registered users will receive these  and  any 
  374.         other  updates FREE as they become available.  The only  cost  is 
  375.         the  nominal  $3US shipping and handling fee.   Registered  users 
  376.         will receive information on updates through the mail.
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.                              Why Should I Register?
  384.         
  385.              This is a very good question, and one that deserves  answer-
  386.         ing.   The main reason is that, by registering, you  are  letting 
  387.         me,  the  author, know that you enjoy using CDPlay and  that  you 
  388.         appreciate  the  hard  work and long hours that  have  gone  into 
  389.         making this a great program.
  390.              By  registering,  you  also receive the  LATEST  version  of 
  391.         CDPlay,  plus, as stated above, you also receive FREE UPDATES  to 
  392.         the  program  (there is, however, a $3US  Shipping  and  Handling 
  393.         fee.) 
  394.              Last, but not least, your copy of CDPlay will get rid of the 
  395.         "AnnoyWare"  screens.  These screens are a pain in the butt,  and 
  396.         are  necessary.   I apologize for them.  However, until  the  day 
  397.         that  all  users of CDP register the program, they will  have  to 
  398.         remain  in the Shareware version.  Again, I do apologize  to  all 
  399.         you honest users.
  400.         
  401.                                 About the Author
  402.         
  403.              Randy  Rathbun,  NV0U,  is a student at  the  University  of 
  404.         Missouri at Kansas City and is majoring in Computer Based  Infor-
  405.         mation  Systems.  He received his amateur radio license in  April 
  406.         1985  (KA0UMC). Other than computers and ham radio, Randy's  hob-
  407.         bies are home beer/winemaking, listening to blues music,  reading 
  408.         science fiction, and stamp collecting.
  409.         
  410.                                    User Notes
  411.         
  412.              CDPlay  was  written in Turbo C++.  It was written  using  a 
  413.         Sony CDU-510 CD-ROM drive, MSCDEX v 2.2, MS-DOS 5.0, and an  8088 
  414.         IBM Compatible computer.
  415.              CDPlay should work correctly with ANY CD-ROM drive, provided 
  416.         the  driver program manufacturer has stuck with the Microsoft  CD 
  417.         ROM  Extensions  Device Driver specifications.  CDPlay  does  not 
  418.         talk  to  the drive, like some drive specific  programs  do,  but 
  419.         talks  to  the  CD-ROM extensions which in turn  talks  with  the 
  420.         drive.  This makes for a more compatible program.  If, after  you 
  421.         have tried everything you know of to get the program running, and 
  422.         it still does not work correctly then WRITE US A LETTER!  We want 
  423.         to know!  Please include the following information to us in  your 
  424.         letter:
  425.                   - a printed copy of your AUTOEXEC.BAT file
  426.                   - a printed copy of your CONFIG.SYS file
  427.                   - what version of MSCDEX you are running
  428.                   - what version and what device driver you are using
  429.         We will try our darndest to help you get the program running.
  430.         
  431.         NOTE  TO  DESKVIEW USERS:  We have received a couple  of  letters  
  432.         saying that CDP does not work correctly under Deskview.  Since  I 
  433.         am  running  a  8088, multitasking is out.  If  you  are  running 
  434.         CDPlay  in DV, and it is working correctly, please let  me  know.  
  435.         If  your  answer solves somebody's problem, you  will  receive  a 
  436.         REGISTERED copy of CDP free.
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.                    Versions Released or Versions We Worked On
  444.                                      CDPlay
  445.         
  446.         Version   Date          Changes made
  447.         
  448.         1.20SR    920311        MAJOR BUG FOUND!  The way which CDPlay
  449.                                 wrote the database meant certain death.
  450.                                 This bug has been fixed.  Sorry for any
  451.                                 problems.
  452.         1.12S     920221        Made changes to annoy screen.  No longer
  453.                                 sits forever.  Also cut down on number
  454.                                 of times that the screen is displayed.
  455.         1.11SR    920216        As usual, I got ahead of myself and did
  456.                                 not pay attention to what was being put
  457.                                 on the screen.  So this version does not
  458.                                 do anything differently, it just corrects
  459.                                 my failure to read what I wrote in the
  460.                                 help screen.  Uploaded to Ham Shack BBS
  461.                                 only. 
  462.         1.10SR    920211        Release of updates.
  463.         1.05#     920210        Made change to annoyware screens instead
  464.                                 of cripple ware.  Lowered price to $10.
  465.         1.04#     920209        Corrected problem in search routine.  Can
  466.                                 now exit a search.  No longer have to go
  467.                                 through every entry.
  468.         1.03#     920208        Added Music Bar to screen.  Fixed problem
  469.                                 with mouse acting too quickly.
  470.         1.02a#    920207        Made room in code for password 
  471.                                 registration.  This will not be done 
  472.                                 until much later (say v1.20 or later).
  473.         1.02#     920205        Moved the screen format around to 
  474.                                 facilitate the new upcoming features.
  475.         1.01S     920118        Fixed typo in order screen, along with
  476.                                 other small typos.  The CDPlay release
  477.                                 also contains CDPlay Quick Start.
  478.         1.00S     920115        First Shareware Version Released!
  479.         0.60B     920111        Fixed bugs (screen) introduced in v0.22B
  480.         0.50B     920110        Fixed stop disc function to return to
  481.                                 beginning of disc.
  482.         0.22B     920107        Released BETA TEST version.  Contains fix
  483.                                 for initial startup recognition of 
  484.                                 playing disc.
  485.         0.21B     911219        Initial BETA TEST of CD Play
  486.         0.01B     910921        Start of CDPlay coding. 
  487.         
  488.         NOTE: * indicates changes made to CDPSETUP.
  489.               # indicates version not released.
  490.               S indicates Shareware version.
  491.               R indicates Registered version.
  492.               B indicates Beta version.
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.                                      CD Play
  500.                                Product Order Form
  501.         
  502.         Name: __________________________________________________________
  503.         
  504.         Address: _______________________________________________________
  505.         
  506.         City: _____________________________ State: _____________________
  507.         
  508.         Zip: ____________________
  509.         
  510.         
  511.         Version you are registering _____________
  512.         
  513.         Media type: ________ 3.5"    ________ 5.25"
  514.         
  515.         
  516.                                      ______ units @ __$10__ ea. = _______
  517.         
  518.                                                       + shipping     3.00
  519.         
  520.                                                           TOTAL   _______
  521.         
  522.         
  523.         Send your Check/Money Order payable to Randy Rathbun to:
  524.              
  525.              Randy Rathbun
  526.              18602 Cheyenne Drive
  527.              Independence, MO  64056-2082
  528.         
  529.         International orders must be in United States Funds ONLY.  Inter-
  530.         national orders should add $3.00US for increased shipping costs.
  531.         
  532.         From  where  did you receive this program? (if a  BBS,  list  its 
  533.         name/phone number: ______________________________________________
  534.         
  535.         
  536.         For our use only:
  537.         PIDNO: ___________________________________________________
  538.         TYPE:  ________
  539.  
  540.  
  541.  
  542.